home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr27 / fwkcs200.zip / QIKSTART.BAT < prev    next >
DOS Batch File  |  1995-01-16  |  9KB  |  240 lines

  1. @echo off
  2. if exist register.key goto rk
  3. cls
  4. echo.
  5. echo.
  6. echo      If you registered FWKCS(TM) Version 1.19 or later before 1995 Jan 16,
  7. echo      please copy your registration keyfile into this directory, and name
  8. echo      the keyfile REGISTER.KEY.  Then restart this QIKSTART program.
  9. echo.
  10. echo      If you do not have an FWKCS registration key, please make sure
  11. echo      that your computer system's date is set to today's date.
  12. echo.
  13. echo.
  14. echo  To stop this program, press Ctrl+C, then y
  15. echo.
  16. pause
  17. :rk
  18. cls
  19. if not .%2 == . goto az
  20. if not exist x_add.lst echo.
  21. echo            Your use of this software is at solely your own risk.
  22. echo            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  23. if not exist x_add.lst echo.
  24. echo This software is intended for use under DOS 3.30 or later, or in a suitable
  25. echo DOS session under a multitasking system (including IBM OS/2 2.0 or later).
  26. echo.
  27. echo    If you encounter any system conflicts when using this software,
  28. echo    please check your system configuration (and DOS session settings).
  29. echo.
  30. echo    If the problem remains, please advise the author at
  31. echo.
  32. echo    Internet email address     if no reply, write to    Fred Kantor
  33. echo    fred.kantor@factory.com                             523 West 112 Street
  34. echo                                                        New York, NY 10025
  35. echo.
  36. if exist x_add.lst echo Automatic exclusion list X_ADD.LST has been found, to add to data base.
  37. if exist x_add.lst echo.
  38. if exist register.key goto rk1
  39. echo Note: QIKSTART lets you run an unregistered copy of FWKCS, with a copy of
  40. echo       REGISTER.FRM in the same directory with FWKCS.EXE. You can put the
  41. echo       \CSA directory on your PATH, and call FWKCS from anywhere on your
  42. echo       system.
  43. echo.
  44. echo The suggested test time is up to 30 days. To register, see REGISTER.FRM.
  45. echo                            ~~~~~~~~~~~~~
  46. :rk1
  47. pause
  48. cls
  49. :az
  50. echo Part of FWKCS(TM) Contents_Signature System, Version 2.00.
  51. echo (C)Copyright Frederick W. Kantor 1989, 1995. All rights reserved.
  52. echo      Your use of the FWKCS(TM) Contents_Signature System is at solely your
  53. echo         own risk. For safety, please have proper backups of your files.
  54. echo.
  55. echo QIKSTART.BAT to set up the FWKCS(TM) Contents_Signature System, Ver. 2.00;
  56. echo   for use in same directory with FWKCS200.ZIP, FWKCS.200, and FWKCS_TM.200.
  57. echo   QIKSTART does not search your file collection (see README.TXT).
  58. echo   Disk space: allow 5 Meg. setup, ca 1.9 Meg. static files, starting empty.
  59. echo   For full installation with search of your file collection, use INSTALL.BAT.
  60. echo (More information provided as FWKCS.200 package is opened; see README.TXT.)
  61. echo.
  62. echo              If you are replacing FWKCS Ver. 1.12 or later, use REPLACE.BAT.
  63. echo              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  64. echo  Usage:   QIKSTART d D "<enter>"
  65. echo           QIKSTART d D c "<enter>"
  66. echo.
  67. echo  where  d  without ":" is the drive for the \CS directory
  68. echo         D  without ":" is the drive for the \CSA directory
  69. echo         c  automatically capture contents_signatures re FWKCS200.ZIP
  70. echo              (recommended)
  71. if .%1 == ./* goto end
  72. if .%1 == . goto nd
  73. if .%2 == . goto nod2
  74. if .%3 == .C goto aa
  75. if .%3 == .c goto aa
  76. if not .%3 == . goto bi
  77. :aa
  78. echo.
  79. echo  Are these drives correct:  %1:\CS  and  %2:\CSA ?  If not, stop now!
  80. echo  To quit, press Ctrl+C, then y                            ~~~~~~~~
  81. echo.
  82. pause
  83. if exist fwkcs200.zip attrib -r fwkcs200.zip > nul
  84. if exist 0_setup.bat del 0_setup.bat > nul
  85. if exist 0_setup.bat attrib -r 0_setup.bat > nul
  86. if exist 0_setup.bat del 0_setup.bat > nul
  87. if exist replm200.200 del replm200.200 > nul
  88. if exist replm200.200 attrib -r replm200.200 > nul
  89. if exist replm200.200 del replm200.200 > nul
  90. if exist 2_setup.bat del 2_setup.bat > nul
  91. if exist 2_setup.bat attrib -r 2_setup.bat > nul
  92. if exist 2_setup.bat del 2_setup.bat > nul
  93. if exist s_setup.bat del s_setup.bat > nul
  94. if exist s_setup.bat attrib -r s_setup.bat > nul
  95. if exist s_setup.bat del s_setup.bat > nul
  96. if exist myowncsl.srt del myowncsl.srt > nul
  97. if exist myowncsl.srt attrib -r myowncsl.srt > nul
  98. if exist myowncsl.srt del myowncsl.srt > nul
  99. if exist #@!#@!$$.@!@ del #@!#@!$$.@!@ > nul
  100. if exist #@!#@!$$.@!@ attrib -r #@!#@!$$.@!@ > nul
  101. if exist #@!#@!$$.@!@ del #@!#@!$$.@!@ > nul
  102. if exist $@!#@!$$.@!@ del $@!#@!$$.@!@ > nul
  103. if exist $@!#@!$$.@!@ attrib -r $@!#@!$$.@!@ > nul
  104. if exist $@!#@!$$.@!@ del $@!#@!$$.@!@ > nul
  105. if exist $@!#@$!$.@!@ del $@!#@$!$.@!@ > nul
  106. if exist $@!#@$!$.@!@ attrib -r $@!#@$!$.@!@ > nul
  107. if exist $@!#@$!$.@!@ del $@!#@$!$.@!@ > nul
  108. cls
  109. if not exist fwkcs200.exe goto n1
  110. if exist fwkhi.com del fwkhi.com > nul
  111. if exist fwkhi.com attrib -r fwkhi.com > nul
  112. if exist fwkhi.com del fwkhi.com > nul
  113. fwkcs200 -o fwkhi.com > nul
  114. if exist fwkhi.com goto n2
  115. attrib -r fwkcs200.exe > nul
  116. :n1
  117. if not exist fwkcs.200 goto nd
  118. if not exist fwkcs_tm.200 goto cm
  119. ren fwkcs_tm.200 fwkcs_tm.com > nul
  120. fwkcs_tm < fwkcs.200 > fwkcs200.exe
  121. if errorlevel 1 goto fbad
  122. ren fwkcs_tm.com fwkcs_tm.200 > nul
  123. fwkcs200 -o fwkhi.com > nul
  124. if not exist fwkhi.com goto fbad
  125. :n2
  126. cls
  127. if .%3 == .c goto n3
  128. if not .%3 == .C goto nocs
  129. :n3
  130. if exist fwkcs200.zip ren fwkcs200.zip $@!#@!$$.@!@ > nul
  131. fwkcs200.exe -o fwkcs.exe register.frm > nul
  132. if not exist fwkcs.exe goto nz
  133. if not exist register.key goto nk
  134. fwkcs /t20register[+register.key]
  135. fwkcs /t20register > nul
  136. if not errorlevel 98 goto wk
  137. echo.
  138. echo  Your REGISTER.KEY file was apparently defective.
  139. echo.
  140. echo  Continuing in unregistered mode...
  141. echo.
  142. :nk
  143. fwkcs
  144. if not errorlevel 99 goto id
  145. :wk
  146. echo.
  147. echo  Automatically capturing the contents_signatures of the
  148. echo  files in FWKCS(TM) version 2.00 for future reference...
  149. echo.
  150. ren fwkcs200.exe fwkcs200.zip > nul
  151. fwkcs /rt20/1 fwkcs200.zip #@!#@!$$.@!@ > nul
  152. ren fwkcs200.zip fwkcs200.exe > nul
  153. if exist $@!#@!$$.@!@ ren $@!#@!$$.@!@ fwkcs200.zip > nul
  154. if exist fwkcs200.zip fwkcs /t20/1 fwkcs200.zip >> #@!#@!$$.@!@
  155. if exist fwkcs200.zip goto kcz
  156. if exist #@@!##@_._$_ del #@@!##@_._$_ > nul
  157. if exist #@@!##@_._$_ attrib -r #@@!##@_._$_ > nul
  158. if exist FILE_ID.DIZ  echo FILE_ID.DIZ >   #@@!##@_._$_
  159. if exist README.1ST   echo README.1ST >>   #@@!##@_._$_
  160. if exist README.TXT   echo README.TXT >>   #@@!##@_._$_
  161. if exist WHATSNEW.TXT echo WHATSNEW.TXT >> #@@!##@_._$_
  162. if exist REGISTER.DOC echo REGISTER.DOC >> #@@!##@_._$_
  163. if exist REGISTER.FRM echo REGISTER.FRM >> #@@!##@_._$_
  164. if exist INSTALL.BAT  echo INSTALL.BAT >>  #@@!##@_._$_
  165. if exist REPLACE.BAT  echo REPLACE.BAT >>  #@@!##@_._$_
  166. if exist QIKSTART.BAT echo QIKSTART.BAT >> #@@!##@_._$_
  167. if exist GETLOOK.BAT  echo GETLOOK.BAT >>  #@@!##@_._$_
  168. if exist FWKCS.200    echo FWKCS.200 >>    #@@!##@_._$_
  169. if exist FWKCS_TM.200 echo FWKCS_TM.200 >> #@@!##@_._$_
  170. fwkcs /t20/1cp #@@!##@_._$_ >> #@!#@!$$.@!@
  171. del #@@!##@_._$_ > nul
  172. :kcz
  173. fwkcs #@!#@!$$.@!@ /rt20a7.8v",!" $@!#@$!$.@!@ > nul
  174. del #@!#@!$$.@!@ > nul
  175. fwkcs $@!#@$!$.@!@ /rt20s > nul
  176. if exist $$mt$$ del $$mt$$ > nul
  177. if exist $$mt$$ fwkcs /rt30a7.7c $$mt$$ > nul
  178. fwkcs $$mt$$ /rt30mn > nul
  179. fwkcs $@!#@$!$.@!@ $$mt$$ myowncsl.srt /rt20ms > nul
  180. del $$mt$$ > nul
  181. del $@!#@$!$.@!@ > nul
  182. del fwkcs.exe > nul
  183. :nocs
  184. fwkcs200 -o s_setup.bat > nul
  185. del fwkhi.com > nul
  186. s_setup %1 ! %2 1 0
  187. :nv200
  188. echo.
  189. echo  QIKSTART.BAT is for use in the same directory together with
  190. echo  files  FWKCS.200  and  FWKCS_TM.200 .
  191. goto clu
  192. :bi
  193. echo.
  194. echo  The third entry, if not blank, must be "c" or "C" (without quotes),
  195. echo      to capture contents_signatures re files in FWKCS200.ZIP.
  196. goto helpr
  197. :nz
  198. echo.
  199. echo Problem in running self_extraction.
  200. goto fbad
  201. :id
  202. if exist fwkcs200.exe del fwkcs200.exe > nul
  203. if exist $@!#@!$$.@!@ ren $@!#@!$$.@!@ fwkcs200.zip > nul
  204. del fwkcs.exe > nul
  205. echo.
  206. echo  Bad system date!
  207. echo.
  208. echo  Execution aborted!
  209. echo.
  210. echo  After you have set your computer system's date to today's date,
  211. goto helpr
  212. :fbad
  213. del fwkcs200.exe > nul
  214. ren fwkcs_tm.com fwkcs_tm.200 > nul
  215. echo.
  216. echo  Bad file. Execution aborted.
  217. :clu
  218. echo.
  219. echo  Please clean up, and try again. See README.TXT.
  220. goto end
  221. :cm
  222. echo.
  223. echo  I need FWKCS_TM.200.
  224. echo.
  225. echo        I quit!
  226. goto end
  227. :nod2
  228. echo.
  229. echo   I need two drive entries (they can both have the same letter).
  230. :helpr
  231. echo.
  232. echo   Please try again...
  233. goto end
  234. :nd
  235. echo.
  236. echo    Please see "Usage", above...
  237. :end
  238. if exist fwkhi.com del fwkhi.com > nul
  239. echo.
  240.